home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13445 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: druid.borland.com!usenet
  2. From: pete@borland.com (Pete Becker)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Symantec C++ 7.1 or Borland C++ 4.53
  5. Date: 25 Mar 1996 19:18:36 GMT
  6. Organization: Borland International
  7. Message-ID: <4j6ric$hfm@druid.borland.com>
  8. References: <4c560k$e7d@dyson.brisnet.org.au> <vi8ybor48ui.fsf@thor.fnal.gov>
  9. NNTP-Posting-Host: pbecker.borland.com
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=ISO-8859-1
  12. X-Newsreader: WinVN 0.99.5
  13.  
  14. In article <vi8ybor48ui.fsf@thor.fnal.gov>, kriol@thor.fnal.gov says...
  15. >
  16. >
  17. >man,
  18. >tell me about OS (Windows/*IX/Mac...) where linker ( !!!LINKER!!! )
  19. >generates _ANY_ code (fast or slow one) AT ALL !!!
  20. >
  21. >think before giving an advice...         OK
  22.  
  23. Well, the linker in BC++ generates code. For example, in 16-bit programs it 
  24. optimizes intrasegment far calls into a PUSH CS followed by a near call. This 
  25. is significantly faster than a normal far call. In 32-bit programs it generates 
  26. jump stubs for calls to functions in DLLs. Admittedly, neither of these is 
  27. difficult to do, but both are definitely code generation.
  28.     -- Pete
  29.  
  30.